//
//  MapLocation.h
//  NiuNiuPacking
//
//  Created by shaoting on 14-9-1.
//  Copyright (c) 2014年 Reseek. All rights reserved.
//

#import "MapLocation.h"

@implementation MapLocation

- (NSString *)title {
     NSMutableString *tit = [NSMutableString new];
    if (_parkingName)
        [tit appendString:_parkingName];
    return tit;
    
}
- (NSString *)subtitle {
    
    NSMutableString *ret = [NSMutableString new];
    if (_parkingAddress)

        [ret appendString:_parkingAddress];

    if (_parkingLot)

        [ret appendFormat:@"•空余车位：%@",_parkingLot];

    
    return ret;
}


@end
